|
Command: |
This command requires the optional RSA licence, error code 67 will be returned if the command is not licenced. Translate a secret key from encryption under the old LMK pair 34-35 held in key change storage, to encryption under a new LMK pair 34-35. See: Using the RSA cryptosystem for details of where valid values of the common parameters can be found. |
|
Field |
Length & Type |
Details | |
|
COMMAND MESSAGE |
|||
|
Message header |
m A |
(Subsequently returned to the Host unchanged). |
|
|
Command code |
2 A |
Value EM. |
|
|
Secret key length |
4 N |
Length (in bytes) of the next field. |
|
|
Secret key |
n B |
Secret key, encrypted under LMK pair 34-35. |
|
|
End message delimiter |
1 C |
Optional. Must be present if a message trailer is present. Value X’19. |
|
|
Message trailer |
n A |
Optional. Maximum length 32 characters. |
|
|
RESPONSE MESSAGE |
|||
|
Message header |
m A |
Returned to the Host unchanged. |
|
|
Response code |
2 A |
Value EN. |
|
|
Error code |
2 N |
00 : No error 13 : LMK error; report to supervisor 15 : Error in input data 49 : Secret key error; report to supervisor 78 : Secret key length error |
|
|
Secret key length |
4 N |
Length (in bytes) of the next field. |
|
|
Secret key |
n B |
Secret key, encrypted under new LMK pair 34-35. |
|
|
End message delimiter |
1 C |
Present only if present in the command message. Value X’19. |
|
|
Message trailer |
n A |
Present only if present in the command message. Maximum length 32 characters. |
|
|
|
|
|
|
Example
Command Request:
EM0160<ECA272042D1A2BF6E7085D53D557DDF0455EB6650F30E21AA25FDD8A27519195AB7A86C3A
058893381C0AD18AE6D713CF13A562C2B88CB2145F7D1E9CD7505039373151C67600D19AD245E3FA
6344DF1AE142E8C66D5B45D6F6A35624E6720551AC6F214A2337C0CD550E6E878050C636EBCA6755
ABD543F5606136D50339D546BB969A1FE6C9BBE899DFFB4BD04DC5FE6DA556C2E5C57E7DEEE9725C
78254C2>
Command Response
EN000160<2DCC7A66BB05931049FD836DECF8BC4CB9DE5C67E387E2A6F7699DCA2093B66055F208D
F83E5DC6D81AD6F62C3B28AA701175D43087181E66D5A48E8387B8B39FBD5419854F7A38F9DE48B3
0821D15901CA371677105BDE20CAE4766CF80B50478C23DDBABF97CEAAE3488AB063B765E16DD2F2
187D7483DF04A1B79F1C89A24D8ECD18A6228907710F706E2C196D720E71D25E31D3A7D1F2AF6679
1E11E8809>